<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<meta content="" name="keywords">
<meta content="" name="description">
<meta name="viewport"
	content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>食材录入</title>
<link href="./css/style.css" rel="stylesheet" type="text/css">

<style type="text/css">
html {
	/*font-family: 'STHeiti', 'Microsoft YaHei', 'SimSun', Arial;*/
	font-size: 20px;
	color: #000;
	background-color: #efefef;
}

.material_label {
	text-align: left;
	padding-left: 0.625rem;
	font-size: 0.8rem;
	color: #161616;
	line-height: 1.75rem;
}

.material_item {
	text-align: left;
	font-size: 0.9rem;
	background-color: #FFF;
	color: #CACACA;
}

.item_input_l {
	color: #666;
	font-size: 0.9rem;
	width: 49%;
	line-height: 2.25rem;
	float: left;
	font-size: 0.9rem;
}

.item_input_r {
	color: #666;
	font-size: 0.9rem;
	width: 49%;
	line-height: 2.25rem;
	border-left: 1px solid #ddd;
	float: right;
}

.btn_add_item {
	margin-left: 0.625rem;
	margin-top: 0.75rem;
	line-height: 1.5rem;
	width: 5.6rem;
	text-align: center;
	font-size: 0.7rem;
	color: #FFF;
	border-radius: 0.8rem;
	border: 0.125rem solid #ddd;
	background-color: #b5b5b5;
	border-radius: 0.8rem;
}

.split_line {
	width: 100%;
	height: 1px;
	background-color: #CDCDCD;
}
</style>
</head>

<body>
	<!-- 主料容器 -->
	<div class="main_material">
		<span class="material_label">主料</span>

		<!-- 行材料Item -->
		<div class="material_item">
			<input class="item_input_l" type="text" name="itemName1"
				placeholder="例：冬瓜"> <input class="item_input_r" type="text"
				name="itemValue1" placeholder="200g">
			<div class="clearfix">&nbsp;</div>
		</div>

		<!-- 1px底部横向分割线 + 一行输入框，模板整体（开始）-->
		<div class="split_line">&nbsp;</div>
		<div class="material_item">
			<input class="item_input_l" type="text" name="itemName2"
				placeholder="例：排骨"> <input class="item_input_r" type="text"
				name="itemValue2" placeholder="300g">
			<div class="clearfix">&nbsp;</div>
		</div>
		<!-- 1px底部横向分割线 + 一行输入框，模板整体（结束）-->

		<div class="split_line">&nbsp;</div>
		<div class="material_item">
			<input class="item_input_l" type="text" name="itemName2"
				placeholder="例：排骨"> <input class="item_input_r" type="text"
				name="itemValue2" placeholder="300g">
			<div class="clearfix">&nbsp;</div>
		</div>

		<div id="btn_main_item" class="btn_add_item">+ 增加一种</div>
	</div>

	<div class="clearfix"></div>

	<!-- 辅料容器 -->
	<div class="sub_material">
		<span class="material_label">辅料</span>
		<!-- 行材料Item -->
        <div class="material_item">
            <input class="item_input_l" type="text" name="itemName1"
                placeholder="例：冬瓜"> <input class="item_input_r" type="text"
                name="itemValue1" placeholder="200g">
            <div class="clearfix">&nbsp;</div>
        </div>

        <!-- 1px底部横向分割线 + 一行输入框，模板整体（开始）-->
        <div class="split_line">&nbsp;</div>
        <div class="material_item">
            <input class="item_input_l" type="text" name="itemName2"
                placeholder="例：排骨"> <input class="item_input_r" type="text"
                name="itemValue2" placeholder="300g">
            <div class="clearfix">&nbsp;</div>
        </div>
        <!-- 1px底部横向分割线 + 一行输入框，模板整体（结束）-->

		<div id="btn_sub_item" class="btn_add_item">+ 增加一种</div>
	</div>

	<!-- 提交按钮 -->
	<div id="btn_submit" class="btn_submit">
		<span>确定</span>
	</div>
</body>

<script src="http://libs.baidu.com/jquery/1.9.1/jquery.min.js"></script>
<script src="./js/autofit.js" ></script>

</html>